package com.shermanzhou.aop.log;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author zhouchaoqun
 * @date 2018/9/10 下午2:04
 */
public class Main {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext("com.shermanzhou.aop");
        DemoService demoService = ctx.getBean(DemoService.class);
        demoService.joint(new String[]{"111", "MK"});
    }
}
